package com.ruoyi.community.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 投诉处理管理对象 community_complaint
 *
 * @author ruoyi
 * @date 2023-10-16
 */
public class CommunityComplaint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 投诉单号 */
    private Long id;

    /** 用户 */
    @Excel(name = "用户")
    private String userId;

    /** 投诉时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投诉时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date complaintDate;

    /** 投诉内容 */
    @Excel(name = "投诉内容")
    private String description;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String status;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completionDate;

    /** 处理人员 */
    @Excel(name = "处理人员")
    private String person;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setComplaintDate(Date complaintDate)
    {
        this.complaintDate = complaintDate;
    }

    public Date getComplaintDate()
    {
        return complaintDate;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setCompletionDate(Date completionDate)
    {
        this.completionDate = completionDate;
    }

    public Date getCompletionDate()
    {
        return completionDate;
    }
    public void setPerson(String person)
    {
        this.person = person;
    }

    public String getPerson()
    {
        return person;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("complaintDate", getComplaintDate())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("completionDate", getCompletionDate())
            .append("person", getPerson())
            .toString();
    }
}
